package com.atguigu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author : 李红磊
 * @Date : 2021/06/02/22:22
 * @Description :
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.atguigu"})
@EnableDiscoveryClient//nacos注册
@EnableFeignClients//feign调用
public class EduMain8001 {
    public static void main(String[] args) {
        SpringApplication.run(EduMain8001.class,args);
    }

}
